package com.maduar.mybatis.demo.util.strategy;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * Description:
 *
 * @author maduar maduar@163.com
 * @date 2021-04-15 22:48
 */
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class MathContext {

    private MathAlgorithm algorithm;

    public int execute(int num1, int num2) {
        return algorithm.caclulate(num1, num2);
    }
}
